package com.lwbldy.modules.student.service.impl;

import com.lwbldy.modules.student.domain.ChargesItems;
import com.lwbldy.modules.student.mapper.ChargesItemsDao;
import com.lwbldy.modules.student.service.ChargesItemsService;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;

/**
 * 收费项 service 实现
 * @author lwb
 * @email lwbldy@163.com
 * @date 2022-06-13 16:10:54
 */
@Service("chargesItemsService")
public class ChargesItemsServiceImpl implements ChargesItemsService {

    @Autowired
    ChargesItemsDao chargesItemsDao;

    @Override
    public int save(ChargesItems t) {
        return chargesItemsDao.save(t);
    }

    @Override
    public int saveBatch(List<ChargesItems> list) {
        return chargesItemsDao.saveBatch(list);
    }

    @Override
    public int update(ChargesItems t) {
        return chargesItemsDao.update(t);
    }

    @Override
    public int delete(Object id) {
        return chargesItemsDao.delete(id);
    }

    @Override
    public int deleteBatch(Object[] ids) {
        return chargesItemsDao.deleteBatch(ids);
    }

    @Override
    public ChargesItems queryObject(Object id) {
        return chargesItemsDao.queryObject(id);
    }

    @Override
    public List<ChargesItems> queryList(Map<String, Object> map) {
        return chargesItemsDao.queryList(map);
    }

    @Override
    public int queryTotalByMap(Map<String, Object> map) {
        return chargesItemsDao.queryTotalByMap(map);
    }

    @Override
    public int queryTotal() {
        return chargesItemsDao.queryTotal();
    }

    @Override
    public List<ChargesItems> queryByMajorId(Object majorId) {
        return chargesItemsDao.queryByMajorId(majorId);
    }

}
